package com.zmzncs.common.common.pojo.daoer;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author gaobowen
 * @date 2021-01-28 下午3:43
 */
@Data
public class ParkingInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "响应头")
    private Head head;

    @ApiModelProperty(value = "响应体")
    private Body body;

    @Data
    public class Head {
        @ApiModelProperty(value = "返回状态，1：成功；0：失败")
        private Integer status;
        @ApiModelProperty(value = "返回成功/失败消息")
        private String message;
    }

    @Data
    public class Body {
        private String appName; //车场APPName
        private String projectNo;	// 车场id
        private String projectName;	// 车场名称
        private String address;	// 地址
        private String tudeValue;	// 经纬度
        private Integer totalSpaces;	// 总车位数
        private Integer remainingSpaces;	// 剩余车位数
        private Double money;	// 第一个小时计费
        private Integer freeTime;	// 免费分钟
        private Double topMoney;	// 计费周期内最高计费
    }
}
